<template>
    <div>
        <header>
            <router-link to="/">首页 | </router-link>
            <router-link to="/parent">parent|</router-link>
            <router-link to="/book">图书 | </router-link>
            <router-link to="/user">学生 | </router-link>
        </header>
        <article>
            <router-view></router-view>
        </article>
    </div>
<!--    <div>
        <button @click="passMsg">传你</button>
    </div>-->
</template>

<script>

export default {
    data() {
        return {

        }
    }

}
</script>

<style>
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
}
</style>
